package com.work.demo_01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@MapperScan注解指定当前项目的mapper接口路径位置，在项目启动时自动加载所有接口文件
@MapperScan("com.work.demo_01.mapper")
public class Demo01Application {

	public static void main(String[] args) {
		SpringApplication.run(Demo01Application.class, args);
	}

}
